<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
  String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<c:import url="/public/include/msDocType.html" />
<html>
<head>
<base href="<%=basePath%>">
<title>redirectPage</title>
<script type="text/javascript">
	function redirectView() 
	{
	  var thisForm = document.getElementById("redirectForm");
	  // 根据window.name来判断是否是弹出页面。弹出页面不能加target=_parent
		if(window.name!="fraMain")
		{
		  thisForm.target="_parent";
		}
		thisForm.submit();
	}
</script>
</head>

<body onload="redirectView();">
  <form id="redirectForm" action="${redirectView}">redirecting...</form>
</body>
</html>
